package ch5;

public class Zuoye5 {//求1-20之间的数的乘积(double)
    public static void main(String[] args) {
        int i = 1;
        double b = 1;
        while (i <= 20) {
            b = b * i;
            i++;
        }
        System.out.println(b);
    }
}
